package com.ygqh.baby.mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.ygqh.baby.model.wdt.WdtInStockOrder;

public interface WdtInStockMapper {

	int deleteByPrimaryKey(Long id);

	int insert(WdtInStockOrder record);

	int insertSelective(WdtInStockOrder record);

	WdtInStockOrder selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(WdtInStockOrder record);

	int updateByPrimaryKey(WdtInStockOrder record);

	int saveStockInOrderBatch(@Param("inStockList") List<WdtInStockOrder> inStockList);

	List<String> selectStockInOrderNoList();

	WdtInStockOrder selectStockInByPurchaseNo(@Param("purchaseNo") String purchaseNo);
	List<Map<String,Object>> selectPurchaseNoInstock(@Param("startDate") Date startDate,@Param("endDate") Date endDate);
	
}